package com.hunter.hmi;

import java.awt.*;

public class ScreenWidthHeight {
/**
 *@Project:iwms
 *@Description: 获取屏幕长宽高
 *@Author: Mr.Hunter
 *@Date:2022/5/12/22:35
 */
public static int getScreenWidth(){
    return Toolkit.getDefaultToolkit().getScreenSize().width;
}
public static int getScreenHeight(){
    return Toolkit.getDefaultToolkit().getScreenSize().height;
}
}